package com.woniu.liuzhougov.relatedinformation.dao;

import com.woniu.liuzhougov.relatedinformation.pojo.Commerce;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommerceMapper {
    int deleteByPrimaryKey(Integer commerceId);

    int insert(Commerce record);

    int insertSelective(Commerce record);

    Commerce selectByPrimaryKey(Integer commerceId);

    int updateByPrimaryKeySelective(Commerce record);

    int updateByPrimaryKey(Commerce record);

    List<Commerce> selectList();

    List<Commerce> selectByName(@Param("name")String name);
}